rm center 
echo "删除center二进制文件"
cat /dev/null > .out
echo "删除nohup日志文件"
go build -o center main.go
echo "构建center二进制文件"
nohup ./center -pidx 0 >center.out 2>&1  &
echo "启动center服"
sleep 1
tail center.out
